package com.lhh.springcloud;


import com.lhh.springcloud.controller.MemberConsumerNacosApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 李洪豪
 * @Sno 20220301044
 */
@SpringBootApplication
@EnableDiscoveryClient//发现服务,将此微服务注册到nacos中
@EnableFeignClients
//name为我们自己定义的
//若配置了ribbon的config文件，该注解可有可无
public class MemberNacosConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(MemberNacosConsumerApplication.class, args);
    }
}
